﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.Decorator.StudentStudy.Models
{
    /// <summary>
    /// 抽象学生类
    /// </summary>
    public abstract class AbstractStudent
    {
        /// <summary>
        /// Id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 学习
        /// </summary>
        public abstract void Study();
    }
}
